lib, vsprintf: introduce strict_strtoul
authorHeiko Schocher <[email protected]>
Mon, 2 May 2011 21:33:49 +0000 (21:33 +0000)
committerWolfgang Denk <[email protected]>
Thu, 12 May 2011 19:07:06 +0000 (21:07 +0200)
commita7fd0d9ffd32d99255d18aadc88a5ccfb1b09986
tree8c580f588e2c88fa22e6115f316603c1d30627ce
parentf0c0b3a9e6f28a34d6da5edabba1e874fdf8e675
lib, vsprintf: introduce strict_strtoul

as checkpatch proposes to use strict_strtoul instead of
simple_strtoul, introduce it.

Ported this function from Linux 2.6.38 commit ID:
521cb40b0c44418a4fd36dc633f575813d59a43d

Signed-off-by: Heiko Schocher <[email protected]>
cc: Wolfgang Denk <[email protected]>
cc: Detlev Zundel <[email protected]>
cc: Valentin Longchamp <[email protected]>
cc: Holger Brunck <[email protected]>
Signed-off-by: Valentin Longchamp <[email protected]>
include/_exports.h
include/common.h
include/exports.h
lib/vsprintf.c